package com.t4l.client.services.login;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.t4l.shared.exceptions.T4LException;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("login")
public interface LoginService extends RemoteService {

	String validateFacebookLogin(String accessToken, int expiresIn)
			throws IllegalArgumentException, T4LException;

	String validateT4LLogin(String email, String password)
			throws IllegalArgumentException, T4LException;

	String getUserInfo();
}
